﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlexFlow.Model
{
    /// <summary>
    /// 表示组织关系，组织关系为用户-组织机构之间的映射
    /// </summary>
    public sealed class UserRelation : PhysicalModel
    {
        /// <summary>
        /// 表示当前映射的用户Guid
        /// </summary>
        public Guid Member { get; set; }
        /// <summary>
        /// 表示当前映射的组织机构Guid
        /// </summary>
        public Guid Organization { get; set; }
        /// <summary>
        /// 表示当前映射的用户是领导还是分管领导(该选项对未分组用户即普通用户无效)
        /// </summary>
        public bool IsLeader { get; set; }
    }
}
